package com.ccc.boot.security.pojo;

import java.io.Serializable;

/**
 * 登录请求参数对象
 *
 * @author superC
 * @date 2022/3/24
 * @version 0.1.0
 */

public class LoginParam implements Serializable {

    private static final long serialVersionUID = -3562534448939096534L;

    private String username;

    private String password;

    /**
     * 验证码
     */
    private String verCode;

    /**
     * 前端生成随机数，用于获取验证码
     */
    private String random;

    /**
     * 客户端ID：1-WEB端；2-APP端；
     */
    private Integer clientId;

    /*  ********* getter/setter *********** */

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getVerCode() {
        return verCode;
    }

    public void setVerCode(String verCode) {
        this.verCode = verCode;
    }

    public String getRandom() {
        return random;
    }

    public void setRandom(String random) {
        this.random = random;
    }

    public Integer getClientId() {
        return clientId;
    }

    public void setClientId(Integer clientId) {
        this.clientId = clientId;
    }
}
